<!DOCTYPE html>
<html lang="en" class="light">
  <head>
    <meta charset="UTF-8" />
    <link rel="icon" type="image/svg+xml" href="/vite.svg" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>环球慧思</title>
    <style>
      .loading {
        height: 100vh;
        background-image: linear-gradient(to top, #dfe9f3 0%, white 100%);
        display: flex;
        justify-content: center;
        align-items: center;
      }

      .loading-inner {
        position: relative;
        width: 200px;
        height: 200px;
        border-top: 10px solid #d22e3e;
        border-radius: 50%;
        /* 动画1 */
        animation: move1 2s linear infinite;
      }

      .loading-inner::before,
      .loading-inner::after {
        content: '';
        position: absolute;
        /* 向上-10px */
        top: -10px;
        left: 0;
        width: 200px;
        height: 200px;
        border-radius: 50%;
      }

      .loading-inner::before {
        border-top: 10px solid #088cdc;
        transform: rotate(120deg);
      }

      .loading-inner::after {
        border-top: 10px solid #52bf81;
        transform: rotate(240deg);
      }

      .loading-inner span {
        position: absolute;
        width: 200px;
        height: 200px;
        color: #333;
        text-align: center;
        line-height: 200px;
        /* 动画2 */
        animation: move2 2s linear infinite;
      }

      /* 关键帧 */
      @keyframes move1 {
        from {
          transform: rotate(0);
        }

        to {
          transform: rotate(360deg);
        }
      }

      @keyframes move2 {
        from {
          transform: rotate(0);
        }

        to {
          transform: rotate(-360deg);
        }
      }
    </style>
  </head>
  <body>
    <div id="app">
      <!-- 加载 loading 页面初始化完成 会自动替换 app 内容 -->
      <div class="loading">
        <div class="loading-inner">
          <span>系统启动中...</span>
        </div>
      </div>
    </div>
    <script type="module" src="/src/main.ts"></script>
  </body>
</html>
